﻿@using UcAsp.Net.Model;
@using UcAsp.Net.BLL;
@using UcAsp.Net.Comm
@{
    ViewBag.Title = new CategoriesBLL().GetCategoriesById(2).CategorieName;
    ViewBag.KeyWords = new CategoriesBLL().GetCategoriesById(2).CategorieName;
    ViewBag.Description = Utils.RemoveHtml(new CategoriesBLL().GetCategoriesById(2).CategorieName);
}

@foreach (Subjects sub in SubjectsConfig.GetCategoriesSubjects(2))
{
    @sub.SubjectName
   // @sub.SubjectImg
    foreach (ArticelsViews art in ArticlesBLL.GetSubject(sub.SubjectId, 2))
    { 
       <a href="/ShowMessage/@if(string.IsNullOrEmpty(art.ShowPath)){@art.ID<text>.shtml</text>}
                             else
                             {@art.ShowPath<text>.shtml</text>}"> @art.Title</a>
    }
}
@(new HtmlString(@AdvConfig.GetAdvPositions("AD1", "2").AdvHtml))